package com.jake.spring.mvc.util;

public class SizeUtils {

    private static final int BASE = 1024;

    private static final long MAX_UPLOAD_SIZE = BASE * 100;

    public static boolean checkUploadSize(long size) {
        return size <= MAX_UPLOAD_SIZE;
    }
}
